Clears the specified access list counters.
dynamic | Specifies that the counter is from a dynamic ACL. |
countername | Specifies the ACL counter to clear. |
any | Specifies the wildcard ACL. |
port_list | Specifies to clear the counters on these ports. |
vlan_name | Specifies to clear the counters on the VLAN. |
ingress | Clear the ACL counter for packets entering the switch on this interface. |
egress | Clear the ACL counter for packets leaving the switch from this interface. |
The default direction is ingress; the default ACL type is non-dynamic.
Use this command to clear the ACL counters. If you do not specify an interface, or the any option, you will clear all the counters.
The following example clears all the counters of the ACL on port 2:1:
clear access-list counter port 2:1
The following example clears the counter counter2 of the ACL on port 2:1
clear access-list counter counter2 port 2:1
This command was first available in ExtremeXOS 10.1.
The vlan option was first available in ExtremeXOS 11.0.
The egress and dynamic options were first available in ExtremeXOS 11.3.
This command is available on all Universal switches supported in this document.